package com.example.RuanJianKeShe.Bean;

import java.util.Date;

public class TC {
    private int id;
    private int tno;
    private int cno;
    private String teachTime;
    private String teachWeek;
    private Date createTime;

    public TC(int id, int tno, int cno, String teachTime, String teachWeek) {
        this.id = id;
        this.tno = tno;
        this.cno = cno;
        this.teachTime = teachTime;
        this.teachWeek = teachWeek;
        createTime = new Date();
    }

    public TC() {
        createTime = new Date();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTno() {
        return tno;
    }

    public void setTno(int tno) {
        this.tno = tno;
    }

    public int getCno() {
        return cno;
    }

    public void setCno(int cno) {
        this.cno = cno;
    }

    public String getTeachTime() {
        return teachTime;
    }

    public void setTeachTime(String teachTime) {
        this.teachTime = teachTime;
    }

    public String getTeachWeek() {
        return teachWeek;
    }

    public void setTeachWeek(String teachWeek) {
        this.teachWeek = teachWeek;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TC{" +
                "id='" + id + '\'' +
                ", tno='" + tno + '\'' +
                ", cno='" + cno + '\'' +
                ", teachTime='" + teachTime + '\'' +
                ", teachWeek='" + teachWeek + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
